import fetch from 'utils/fetch';
//分页
export function page(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/collectQueryPage',
        method: 'get',
        params: query
    });
}
// 导出
export function pageExport(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/collectQueryExport',
        method: 'get',
        params: query
    });
}
//权限下拉
export function getCollectDay(obj) {
    return fetch({
        url: '/api/admin/loanCommon/getListCollectDay',
        method: 'post',
        data: obj
    });
}
// 额外参数
export function collectQueryDetail(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/collectQueryDetail',
        method: 'get',
        params: query
    });
}
// 其他参数
export function collectQueryPageDetail(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/collectQueryPageDetail',
        method: 'get',
        params: query
    });
}
// 账龄
export function getDict() {
    return fetch({
        url: '/api/admin/loanCommon/getDict?code=ORDER_AGING',
        method: 'get'
    })
}
// 导出接口
export function collectQuery(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/export/collectQuery',
        method: 'post',
        data: obj
    });
}
// 查询导出接口
export function exportUrl(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/collectQuery/find/export/url',
        method: 'get',
        params: query
    });
}